<!-- 为组件的emits标注类型 -->
<script lang="ts" setup>
const emit = defineEmits(['change', 'update'])
</script>

<template>
  <div>
    <button @click="$emit('someEvent')">Clicke Me</button>
  </div>
</template>

<style lang="scss" scoped></style>
